package com.hdu.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 链接类型枚举
 *
 * @author xiaobai
 * @since 2023/11/1
 */
@Getter
public enum LinkLabel {

    REST(0, "其他"),
    BLOG(1, "博客"),
    TOOL(2, "工具"),
    LEAD(3, "前端"),
    AFTER(4, "后端"),
    FALLOW(5, "娱乐"),
    DATA(6, "大数据");

    @EnumValue
    private final int value;
    @JsonValue
    private final String desc;

    LinkLabel(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
